UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

VAMI log files must only be accessible by privileged users.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256651 VCLD-70-000007 SV-256651r888475_rule Medium
Description
Log data is essential in the investigation of events. If log data were to become compromised, competent forensic analysis and discovery of the true source of potentially malicious system activity would be difficult, if not impossible, to achieve. In addition, access to log records provides information an attacker could use to their advantage because each event record might contain communication ports, protocols, services, trust relationships, user names, etc. Satisfies: SRG-APP-000118-WSR-000068, SRG-APP-000119-WSR-000069, SRG-APP-000120-WSR-000070
STIG Date
VMware vSphere 7.0 VAMI Security Technical Implementation Guide 2023-02-22

Details

Check Text ( C-60326r888473_chk )
At the command prompt, run the following command:

# stat -c "%n has %a permissions and is owned by %U:%G" /opt/vmware/var/log/lighttpd/*.log

Expected result:

/opt/vmware/var/log/lighttpd/access.log has 644 permissions and is owned by root:root
/opt/vmware/var/log/lighttpd/error.log has 644 permissions and is owned by root:root

If the output does not match the expected result, this is a finding.
Fix Text (F-60269r888474_fix)
At the command prompt, run the following commands:

# chown root:root /opt/vmware/var/log/lighttpd/*.log
# chmod 644 /opt/vmware/var/log/lighttpd/*.log